import cv2
import numpy as np
import matplotlib.pyplot as plt
def CV_show(name, img):
    """显示图像并保持窗口，按任意键关闭"""
    cv2.imshow(name, img)
    cv2.waitKey(0)
    cv2.destroyAllWindows()
    